package pojos;

import java.util.ArrayList;

import javax.persistence.*;

@Entity
@Table(name="t_paniers")
public class Panier {

	private long id_panier;
	private long client;
	private double montant;
	private ArrayList<Voyage> voyages; 
	
	public Panier(){
		voyages = new ArrayList<Voyage>();
	}
	
	@Id
	public long getId_panier() {
		return id_panier;
	}
	public void setId_panier(long id_panier) {
		this.id_panier = id_panier;
	}
	
	public long getClient() {
		return client;
	}

	public void setClient(long client) {
		this.client = client;
	}

	public ArrayList<Voyage> getVoyages() {
		return voyages;
	}

	public void setVoyages(ArrayList<Voyage> voyages) {
		this.voyages = voyages;
	}

	public double getMontant() {
		return montant;
	}
	public void setMontant(double montant) {
		this.montant = montant;
	}
	
	
	
}
